﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RgUtility.Orm.Types
{
    /// <summary>
    /// 名称、值对
    /// </summary>
    /// <typeparam name="NameT">Name属性T(T如果是object则Ef不能正确赋值)</typeparam>
    /// <typeparam name="ValueT">Value属性T(T如果是object则Ef不能正确赋值)</typeparam>
    public class NameValuePair<NameT, ValueT>
    {
        /// <summary>
        /// 显示名称
        /// </summary>
        public NameT Name { get; set; }
        /// <summary>
        /// 值
        /// </summary>
        public ValueT Value { get; set; }
    }
}
